<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-pids" class="control-label col-xs-12 col-sm-2">{:__('类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-pids" data-rule="required" class="form-control selectpicker" multiple="true" data-live-search="true" name="row[type][]">
                {foreach $siteList as $index=>$vo}
                <option data-type="type" value="{$vo.id}">{$vo.name}</option>
                {/foreach}

                <input name="row[ids]" value="{$ids}"  type="hidden" />
            </select>

        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

</form>

